package com.dinphin.site.novel.service;

import com.dinphin.site.novel.util.Result;
import org.springframework.ui.Model;
import org.springframework.web.servlet.ModelAndView;

/**
 * Desc:
 * <p>
 * <p>
 * Created by dd on 2018/9/5 15:18
 */

public interface SensitiveWordService {
    //增加敏感词
    Result addSensitiveWord(String sensitiveWord);

    //删除敏感词
    Result deleteSensitiveWord(long Id);

    //分页显示敏感词
    ModelAndView showAllSensitiveWords(String page, Model model);

    //匹配敏感词
    Result mateWord(String word);
}
